<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=640px,user-scalable=no,target-densitydpi=device-dpi" />
		<link rel="stylesheet" href="../css/css.css" type="text/css" />
		<script type="text/javascript" src='../js/jquery.min.js'></script>
		<script type="text/javascript" src='../js/main_in.js'></script>
		<script type="text/javascript" src='../js/common.js'></script>
		<script type="text/javascript" src='../js/jquery.qrcode.min.js'></script>
		<title>推荐</title>
		<script>
			var RecommendBy = window.localStorage["RecommendBy"];
			var appid='wx672f46da1d03136a';
			var rediret_url='http%3A%2F%2Fwx.unair.cn%2Fregister_h.php';
			$(function(){
				$("#bigcode").qrcode("https://open.weixin.qq.com/connect/oauth2/authorize?appid="+appid+"&redirect_uri="+rediret_url+"&response_type=code&scope=snsapi_userinfo&state="+RecommendBy+"#wechat_redirect");
				$("#bigcode").children().css("width","92%");
				$("#bigcode").children().css("margin-top","50px");
				$("#bigcode").children().css("margin-left","4%");
				
			})
		</script>
	</head>
	<body>
		<div class="app_head">
            <div class="app_prev" onclick="back()"><img src="../img/arrow.png" /></div>
            <div class="app_head_text">推荐码</div>
            <div class="app_prev"></div>
        </div>
        <div class="app_body" id="bigcode"></div>
        <!--<div style="text-align: center;margin-top: 20px;font-size: 30px;color: red;">暂仅支持浏览器扫描</div>-->
        <div style="text-align: center;margin-top: 20px;font-size: 30px;color: red;">请使用微信扫描</div>
	</body>
</html>
